package com.hotel.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.hotel.entity.Dishes;

public interface DishesMapper {
    int deleteByPrimaryKey(String dishesno);

    int insert(Dishes record);

    int insertSelective(Dishes record);

    Dishes selectByPrimaryKey(String dishesno);

    int updateByPrimaryKeySelective(Dishes record);

    int updateByPrimaryKey(Dishes record);
    
    List<Dishes> findAllDishes(@Param("pageNo")Integer pageNo,@Param("pageSize")Integer pageSize);
}